---
apiVersion: v1
kind: Service
metadata:
  name: app0
spec:
  ports:
  - port: 80
    name: http
  selector:
    app: application
    statefulset.kubernetes.io/pod-name: application-0
---
apiVersion: v1
kind: Service
metadata:
  name: app1
spec:
  ports:
  - port: 80
    name: http
  selector:
    app: application
    statefulset.kubernetes.io/pod-name: application-1